import Vue from 'vue'
import VueRouter from 'vue-router'

const loginView = () => import('@/views/loginPage')
const experimentPage = () => import('views/experiment/experimentPage')

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: loginView
  },
  {
    path: '/experiment',
    component: experimentPage
  }
]


const router = new VueRouter({
  mode: 'history',
  routes
})

export default router
